home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Aktuell
/
Amiga Aktuell.iso
/
amiga-aktuell
/
net tools
/
usefull
/
uuclean04
/
uuclean.txt
< prev
next >
Wrap
Text File
|
1996-09-05
|
2KB
|
48 lines
UUCLEAN.TXT
Ever just open your capture buffer to grab a UUencoded file?
I do it all the time, rather than going to the trouble of downloading
a message. Then I have a large text file, with the UUencoded file
somewhere included. When I use NN or TIN, I get one or two duplicated
lines on each screen of text. It is a pain to go through the capture
file and remove all the extraneous stuff, before UUdecode will do its
work on the text file.
So I wrote UUCLEAN. It is CLI or SHELL only, and uses the following
syntax to make it work:
uuclean input_filename output_filename
Of course, the filenames must contain paths if the input and output
files are not in the same directory as is UUCLEAN.
The Amiga (and MS-DOS) versions are written using the GCC compiler.
On the Amiga, that means you must have a recent version of
ixemul.library in your sys:libs directory. Getting that library
is your responsibility.
If you want to recompile it using some other compiler, like DICE,
do so. Source code for this little program is included.
By the way, a uuencoded file has a 'begin' line and each line of
the encoded file begins with a capital M.
Cleaning base64 encoded files is a project for the future.
History:
0.2 released in late 1995
0.3 some sort of bug fix
0.4 09 August 1996
Now the 'size xxxx' line is written to the output file.
And an attempt to account for quoted text.
A single > (right arrow) or a single : (colon)
or either of those characters followed by a single
space will be removed.
Comments?
I am: rdavis@nyx.cs.du.edu or bobdavis@cadvantage.com
Robert (Bob) Davis 10 August 1996